package com.ytc.qzjq.controller;

import com.ytc.qzjq.model.Qzjq;
import com.ytc.qzjq.service.QzjqSrevice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

//求职技巧
@Controller
@RequestMapping("qzjq")
public class QzjqController {

    @Autowired
    private QzjqSrevice qzjqSrevice;

    @RequestMapping("queryQzjqList")
    private String queryQzjqList(Model model) {

        List<Qzjq> list=qzjqSrevice.queryQzjqList();
        model.addAttribute("list",list);
        return "information/information";
    }

}